﻿using BSChuangXu.ErrorCode;
using MediatR;

namespace BSChuangXu.API.Write.Appicant.Command.RolesCommand
{
    public class RoleUpdateCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 是否删除 true 是删 false 否未删
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
